import { Pipe, PipeTransform } from '@angular/core';

/**
 * Generated class for the CoursenumPipe pipe.
 *
 * See https://angular.io/api/core/Pipe for more info on Angular Pipes.
 */
@Pipe({
  name: 'coursenum',
})
export class CoursenumPipe implements PipeTransform {
    


  transform(value: string, ...args) {
    let parm = Number(value)
    var result = ""

   switch (parm){
    case 3:
    result = "周一56节"
     break
     case 4:
     result ="周一78节"
     break
   }




    return result;
  
  
  
  }
}
